<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="GNU source-highlight 1.6.3
by Lorenzo Bettini, bettini@gnu.org
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite">
<title>code/Ch2/mail/Message.java</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000EE" vlink="#551A8B" alink="#FF0000">
<pre>
<tt>
01: <i><font color=#9A1900>/**</font></i>
02: <i><font color=#9A1900>   A message left by the caller.</font></i>
03: <i><font color=#9A1900>*/</font></i>
04: <b><font color=#0000FF>public</font></b> <b><font color=#0000FF>class</font></b> Message
05: <font color=#FF0000>{</font>
06:    <i><font color=#9A1900>/**</font></i>
07: <i><font color=#9A1900>      Construct a Message object.</font></i>
08: <i><font color=#9A1900>      @param messageText the message text</font></i>
09: <i><font color=#9A1900>   */</font></i>
10:    <b><font color=#0000FF>public</font></b> <b><font color=#000000>Message</font></b><font color=#990000>(</font>String messageText<font color=#990000>)</font>
11:    <font color=#FF0000>{</font>
12:       text <font color=#990000>=</font> messageText<font color=#990000>;</font>
13:    <font color=#FF0000>}</font>
14: 
15:    <i><font color=#9A1900>/**</font></i>
16: <i><font color=#9A1900>      Get the message text.</font></i>
17: <i><font color=#9A1900>      @return message text</font></i>
18: <i><font color=#9A1900>   */</font></i>
19:    <b><font color=#0000FF>public</font></b> String <b><font color=#000000>getText</font></b><font color=#990000>(</font><font color=#990000>)</font>
20:    <font color=#FF0000>{</font>
21:       <b><font color=#0000FF>return</font></b> text<font color=#990000>;</font>
22:    <font color=#FF0000>}</font>
23: 
24:    <b><font color=#0000FF>private</font></b> String text<font color=#990000>;</font>
25: <font color=#FF0000>}</font>
</tt>
</pre>
</body>
</html>
